/**
*	流程模块： 子表的扩展js
*	开发者：雨中磐石
*	地址：www.rockoa.com
*	日期：2023-08-20
*/




js.jxcgoods_input = function(){
	

	this.onselectdata = function(fid, d){
		if(fid=='sname'){
			if(this.form('sunit'))this.form('sunit').value = d.unit;
			if(this.form('price'))this.form('price').value = d.price;
		}
	}
}

js.jxcgoods_list = function(){
	
	this.initbodys = function(){
		this.addlefthtml('<input id="dt_'+this.rand+'" class="input input-date" onclick="js.changedate(this)" readonly style="width:120px" placeholder="截止日期">');
	}
	
	this.onsearchbefore = function(){
		return {dt:get('dt_'+this.rand+'').value};
	}
}